<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

    		<div id="main">
    			<h3 id="main-title">最新热销唱片</h3>
    			<div id="hotAlbums">
    			<c:forEach var="ablum" items="${albumlist}">
					<dl class="hotAlbumsItem">
	    				<dt>
	    					<a href="album-detail?id=${ablum.id }"><img src="static/CoverImages/${ablum.id}.jpg" alt=""/></a>
	    				</dt>
	    				<dd>${ablum.title}</dd>
	    			</dl>
	    			</c:forEach>
    			</div>
    			<c:if test="${pageNum>1}">
    			<a href="index?pageNum=${pageNum-1}&genreId=${param.genreId}&title=${param.title}">上一页</a>
    			</c:if>
    			<c:if test="${pageNum<pagetotal}">
    			<a href="index?pageNum=${pageNum+1}&genreId=${param.genreId}&title=${param.title}">下一页</a>
    			</c:if>
    		</div>





